package scalapackage.testcurrying

/**
  * Created by Germmy on 2018/4/11.
  */




object CurryingDemo {


  def m1(str:String)(implicit  name:String="scala"): String ={//返回值是个String
    str+name
  }

  def main(args: Array[String]) {

    import Context.a
//    import Context.b
    val func=m1("hi~")
    println(func)


  }


}


//object  Context{
//  implicit val a="java"
//  implicit val b="python"
//}